\pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\fc1\cf1 How
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc1\cf1 can I make the Workspace Tools Inspector recognize my application as one of the default tools for TIFF files? Currently, when selecting a TIFF file in Workspace, the default tools are Workspace, Icon, Scene, and Edit.
\i \
\
\i0 A:
\pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\fc1\cf1 You
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc1\cf1 must perform the following steps:\
\
\b In Release 2:
\b0 \
\fi-980\li980 \
• Use the Inspector Panel in InterfaceBuilder to modify the
\b Project Attributes
\b0 of your application. \
\
• Select
\b Doc1.
\b0 Enter
\b tiff
\b0 as the Document Extension. If you want to specify an icon for your tiff document, you can specify one by using the SET button (see ../Developer_Environment/adding_app_and_file_icons.rtf for more details). \
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-980\li980\fc1\cf1 • Launch ProjectBuilder and select the Attributes button.\
\
• Select tiff from the System File Types list and the corresponding icon appears in the Document Icons and Extensions well. If you want to specify an icon for your tiff document, you can drag a tiff image of your icon into the well. Change the label below the icon to be the desired extension.\
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-980\li980\fc1\cf1 • To verify that you have completed the proper steps, you can view the file test.iconheader, assuming that your application's name is test. It should list one line for your application icon, and one line for your tiff document icon, if you have specified one.\
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\fs28\fi-980\li980\fc1\cf1 • Make sure that your application resides in the Workspace default search path, which is\
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-980\li980\fc1\cf1 For example, you can add it to your Apps directory (~/Apps).\
\f1\fs24
\f0\fs28 \
• In the Workspace, choose Update Viewers from the View menu (or type Command-u) to update the File Viewer. Open the Workspace Tools Inspector. When you inspect a TIFF file with the Tools inspector, you should see the test app as an additional default tool. You can specify your test app as the default tool now by selecting it and clicking OK.\